package com.hejjon.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * Created by caoshi at 20:13 2021-08-18
 */
@Service
public class UserService {

    @Value("${user.hobby:basketball}")
    private String hobby;

    @Value("${user.address:wuhan}")
    private String address;


    public String getInfo() {
        return hobby + " " + address;
    }




}
